package com.unit_9;

public class RandomIntSequence implements IntSequence{
    private int n;
    @Override
    public boolean hasNext(){
        n = 10 + (int)(Math.random()*90);
        return true;
    }
    @Override
    public int next(){
        return n;
    }
}
